|
DX11 TRIM PIXELMAP
Trims away any transparent pixels on the edges of the PixelMap.
Take note that this will recreate the internal buffer, meaning that any pointer you have previously obtained to that will be invalidated!.
DX11 TRIM PIXELMAP pixelMap, [borderSize], [trimX], [trimY]
pixelMap Dword The pixel map to trim.
[Optional] borderSize Dword If set, these many transparent pixels will be left be around the borders of the pixel map. Defaults to 0 for no borders.
[Optional] trimX Boolean If set to true, the left and right sides will be trimmed. Set to false to not trim these. Defaults to true.
[Optional] trimY Boolean If set to true, the top and bottom sides will be trimmed. Set to false to not trim these. Defaults to true.
This function does not return a value.
PIXELMAP Functions Menu
DX11 Function Categories
|